package com.fish.anne.dao;

import java.util.List;

import com.fish.anne.dao.GenericDao;

import com.fish.anne.model.Member;
import com.fish.anne.webapp.formbean.MemberSearch;

/**
 * An interface that provides a data management interface to the Member table.
 */
public interface MemberDao extends GenericDao<Member, Long> {
	public Member getMemberByUserName(String userName);
	
	public Long getCountOfSearch(MemberSearch memberSearch);
	public List<Member> findBySearch(MemberSearch memberSearch);
}